<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	template="/template/template_dialog.xhtml">
	<ui:define name="head">
		<title>雷电预警</title>
		<link rel="stylesheet" href="/resources/plugins/datatables/dataTables.bootstrap.css" />
		<link href='/resources/bootstrap/css/bootstrap-datetimepicker.min.css' rel='stylesheet' />
	</ui:define>
	<ui:define name="content">
		<div id="tableDiv" class="row">
			<nav class="navbar navbar-default" style="margin:0px;">
				<form class="navbar-form navbar-left">
					<div class="btn btn-default">
						<i class="fa fa-calendar"></i>
					</div>
					<div class="form-group">
						<input type="text" class="form-control" id="start" /> <input
							class="form-control" type="text" id="end" />
					</div>
					<div class="btn btn-default" onclick="query()">查询</div>
				</form>
			</nav>
			<div class="nav-tabs-custom">
				<div class="tab-content" style="padding-left: 20px;padding-right: 20px;">
					<table id="datatable" style="width: 100%"
						class="table table-gray">
					</table>
				</div>
			</div>
		</div>
		<h:inputHidden id="startTime" value="#{request.getParameter('startTime')}" />
		<h:inputHidden id="endTime" value="#{request.getParameter('endTime')}"/>
		<h:inputHidden id="voltage" value="#{request.getParameter('voltage')}"/>
	</ui:define>
	<ui:define name="contentend">
		<script src="/resources/plugins/datatables/jquery.dataTables.min.js"></script>
		<script src="/resources/plugins/datatables/dataTables.bootstrap.min.js"></script>
		<script src="/resources/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script src="/resources/js/tables/mytable.js"></script>
		<script src="thunderWarningList.js"></script>
		<script>
			init();
		</script>
	</ui:define>
</ui:composition>
